package com.cares.core.utils;

public class Constant {
	
	public static int PAGESIZE=20;
	
	public static final String SUPER_KEY="____AgentAdmin";
	/**
	 * 0否，未执行，未处理，不可用
	 * 1可
	 * 2错，异常
	 */
	public static String FLAG_NO="0";
	public static String FLAG_OK ="1";
	public static String FLAG_ERR ="2";
	
	/**
	 * 是Y / 否,非，未做，N
	 */
	public static String IS_N ="N";
	public static String IS_Y ="Y";
	
	public static String ARI_COMPANY_MU="MU";
	public static String ARI_COMPANY_CA="CA";
	public static String ARI_COMPANY_CZ="CZ";
	
	
	/**
	 * SYS_TOP*
	 * 		|__SYS_PROVIDER*
	 * 		|	|__DEPARTMENT
	 * 		|	|__COMPANY*
	 * 		|		|__DEPARTMENT
	 * 		|		|__COMPANY*
	 * 		|
	 * 		|__SYS_DISTRIBUTOR*
	 * 		|	|__DEPARTMENT
	 * 		|	|__COMPANY*
	 * 		|		|__DEPARTMENT
	 * 		|		|__COMPANY*
	 * 		|
	 * 		|__SYS_OPERATOR*
	 * 		|	|__DEPARTMENT
	 * 		|	|__COMPANY*
	 * 		|		|__DEPARTMENT
	 * 		|		|__COMPANY*
	 * 		| 
	 * 		|__SYS_COMPANY*
	 * 		 	|__DEPARTMENT
	 * 		 	|__COMPANY*
	 * 		 		|__DEPARTMENT
	 * 		 		|__COMPANY*
	 * 
	 */
	/**
	 * 顶层机构
	 */
	public static String ORG_TYPE_TOP = "SYSTEM";

	/**
	 * 所以供应商的父节点
	 */
	public static String ORG_TYPE_PROVIDER = "SYS_PROVIDER";
	
	/**
	 * 所有分销商父节点
	 */
	public static String ORG_TYPE_DISTRIBUTOR = "SYS_DISTRIBUTOR";
	
	/**
	 * 运营商
	 */
	public static String ORG_TYPE_OPERATOR = "SYS_OPERATOR";
	
	/**
	 * 所有普通公司的父节点
	 */
	public static String ORG_TYPE_COMMON = "SYS_COMMON";
	
	/**
	 * 公司
	 */
	public static String ORG_TYPE_COMPANY = "COMPANY";
	
	/**
	 * 部门
	 */
	public static String ORG_TYPE_DEPARTMENT = "DEPT";


	
	/**
	 * 固定机构节点
	 */
	public static Long ORG_NODE_SYS_TOP=new Long(1);
	public static Long ORG_NODE_PROVIDER=new Long(2);
	public static Long ORG_NODE_DISTRIBUTOR=new Long(3);
	public static Long ORG_NODE_OPERATOR=new Long(4);
	public static Long ORG_NODE_COMMON=new Long(5);
	
	/**
	 * 接口类型
	 */
	public static String CARES_CBE = "CBE";
	public static String CARES_IBE = "IBE";
	
	/**
	 * 用户状态
	 */
	public static String USER_STATE_OK = "0";
	public static String USER_STATE_LOCK = "1";
}
